
.setWith(@w) when ( isnumber(@w)){
  width:@w * 1rpx;
}
.setWith(@w) when not(isnumber(@w)){
  width:@w ;
}


.setHeight(@h) when ( isnumber(@h)){
  height:@h * 1rpx;
}
.setHeight(@h) when not(isnumber(@h)){
  height:@h ;
}

.setSize(@width_size,@height_size){
  .setWith(@width_size);
  .setHeight(@height_size);
}

@redBorder: {
  border: red solid 1rpx;
};
image{
  width: 100rpx;
  height: 100rpx;
}

view {
  box-sizing: border-box;
}
@pageColor: {
  page{
    background-color: #f2f2f2;
  }
};
